package org.dromara.system.domain.bo;

import org.dromara.system.domain.CmsContainerStatus;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 容器状态
业务对象 cms_container_status
 *
 * @author Lion Li
 * @date 2025-08-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CmsContainerStatus.class, reverseConvertGenerate = false)
public class CmsContainerStatusBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 容器id
     */
    @NotNull(message = "容器id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long containerId;

    /**
     * 容器编码
     */
    @NotBlank(message = "容器编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String containerCode;

    /**
     * 容器名称
     */
    @NotBlank(message = "容器名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String containerName;

    /**
     * 容器状态
     */
    @NotBlank(message = "容器状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String constainsStatus;


}
